<?php
	session_start();
	require 'libs/smarty-2.6.22/Smarty.class.php';
	require 'libs/db.php';
	include 'clases/Evento.class.php';
	
	$smarty = new Smarty;
	$evento = new Evento($db);
	$eventos=$evento->getEventos();
	$usuId=$_SESSION['id_usu'];
	//$smarty->compile_check = true;
	//$smarty->debugging = true;
	$smarty->assign("eventos",$eventos);
	$smarty->assign("usuId",$usuId);
	$smarty->display('modulos/eventos.tpl');
?>